#DYH-Kefu Dockerfile
FROM registry.cn-chengdu.aliyuncs.com/dyh-2021chengdu/dyh_base:swoole
LABEL maintainer="Jhou Shuai <jhou.shuai@qq.com>" version="1.0" license="MIT" app.name="kefu"

ARG TZ
ARG APP_ENV

ENV APP_ENV=${APP_ENV:-"prod"}

#使用国内的阿里云源防止超时
RUN sed -i "s/mirrors.aliyun.com/mirrors.cloud.aliyuncs.com/g" /etc/apk/repositories && sed -i "s/https/http/g" /etc/apk/repositories

#RUN  mkdir -p /var/www/html/kefu /data2/logs/scrm2c

WORKDIR /var/www

EXPOSE 8282

#ENTRYPOINT ["php","/var/www/DyhGW/scrm/kefu/GatewayWorker/start.php","start"]
#ENTRYPOINT ["php","kefu/GatewayWorker/start.php","start"]








